<?php

    /**
     * Cron
     *
     * Test class for CRON generation
     *
     * @package      Modules
     * @subpackage   Base_Classes
     *
     * @license      GNU Lesser General Public Licence see LICENCE-LGPL file or http://www.gnu.org/licenses/lgpl.html
     */
    class Base_Classes_Cron
    {

    ////////////////////////////////////////////////////////////////////////////
    //                             Static Methods                             //
    ////////////////////////////////////////////////////////////////////////////

        /**
         * Static call to execute CRON task
         *
         * @return      array
         */
        public static function getConfiguration()
        {
            return Doctrine::getTable('DbConfiguration')->findAll(Doctrine::HYDRATE_ARRAY);
        }

        /**
         * Static call to execute CRON task
         *
         * @return      array
         */
        public static function getAdmins()
        {
            return Doctrine::getTable('DbAdmin')->findAll(Doctrine::HYDRATE_ARRAY);
        }
    }